This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
I'd like to open different Xpages from a button on a Custom Control, based on the current URL.
On the onClick event of the button I selected "Open Page" then I added the following script to the "Name of Page to Open":
var str = context.getUrl();
var xpg = "xpages1.xsp";
if (str.indexOf(xpg) > 1) {"xpages2.xsp"}
else {"xpages3.xsp"}
The selected language is "JavaScript (server side)"
I just can't get it work....
Thank you for your help,
Etyien
Feedback number WEBB8BNSWZ created by ~Xagra Quetateroni on 11/29/2010
Status: Open
Comments: